package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class MathTest {
    public static void main(String[] args) {
        System.out.println(Math.E);
        System.out.println(Math.pow(4, 5.5));
        System.out.println(Math.sqrt(9));
        System.out.println(Math.max(4.7, 200));
        System.out.println(Math.sin(1));
        System.out.println(">>>>>>>>>>>>>>");
        System.out.println(Math.floor(12.5));//12
        System.out.println(Math.floor(-12.5));//-13
        System.out.println(Math.ceil(12.5));//13
        System.out.println(Math.ceil(-12.5));//-12
        //[0-1)之间的小数
        System.out.println("random:"+Math.random());
    }
}
